﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>无标题文档</title>
  <link href="/css/style.css" rel="stylesheet" type="text/css" />
  <script language="JavaScript" src="/js/jquery.js"></script>


  <script type="text/javascript">
    $(function(){
      //顶部导航切换
      $(".nav li a").click(function(){
        $(".nav li a.selected").removeClass("selected")
        $(this).addClass("selected");
      });
      //导航切换
      $(".menuson li").click(function(){
        $(".menuson li.active").removeClass("active")
        $(this).addClass("active");
      });

      $('.title').click(function(){
        var $ul = $(this).next('ul');
        $('dd').find('ul').slideUp();
        if($ul.is(':visible')){
          $(this).next('ul').slideUp();
        }else{
          $(this).next('ul').slideDown();
        }
      });
    })
  </script>


</head>
<body>
  <table width="100%">
  <tr style="height: 88px;background:url(/images/topbg.gif) repeat-x;">
    <td colspan="2">

      <div class="topleft">
        <a href="main.html" target="_parent"><img src="/images/logo.png" title="系统首页" /></a>
      </div>

      <ul class="nav">
        <li><a href="default.html" target="rightFrame" class="selected"><img src="/images/icon01.png" title="工作台" /><h2>工作台</h2></a></li>
        <li><a href="imgtable.html" target="rightFrame"><img src="/images/icon02.png" title="模型管理" /><h2>模型管理</h2></a></li>
        <li><a href="imglist.html"  target="rightFrame"><img src="/images/icon03.png" title="模块设计" /><h2>模块设计</h2></a></li>
        <li><a href="tools.html"  target="rightFrame"><img src="/images/icon04.png" title="常用工具" /><h2>常用工具</h2></a></li>
        <li><a href="computer.html" target="rightFrame"><img src="/images/icon05.png" title="文件管理" /><h2>文件管理</h2></a></li>
        <li><a href="tab.html"  target="rightFrame"><img src="/images/icon06.png" title="系统设置" /><h2>系统设置</h2></a></li>
      </ul>

      <div class="topright">
        <ul>
          <li><span><img src="/images/help.png" title="帮助"  class="helpimg"/></span><a href="#">帮助</a></li>
          <li><a href="#">关于</a></li>
          <li><a href="login.html" target="_parent">退出</a></li>
        </ul>

        <div class="user">
          <span th:text="${session.user.aName}"></span>
          <i>消息</i>
          <b>5</b>
        </div>
      </div>
    </td>
  </tr>
    <tr>
      <td style="width: 187px;background:#f0f9fd;" valign="top">


        <dl class="leftmenu">
          <!--<dd>
            <div class="title">
              <span><img src="/images/leftico01.png" /></span>管理信息
            </div>
            <ul class="menuson">
              <li><cite></cite><a href="index.html" target="rightFrame">首页模版</a><i></i></li>
              <li class="active"><cite></cite><a href="right.html" target="rightFrame">数据列表</a><i></i></li>
              <li><cite></cite><a href="/book/getType" target="rightFrame">图书类型</a><i></i></li>
              <li><cite></cite><a href="form.html" target="rightFrame">添加编辑</a><i></i></li>
              <li><cite></cite><a href="imglist.html" target="rightFrame">图片列表</a><i></i></li>
              <li><cite></cite><a href="imglist1.html" target="rightFrame">自定义</a><i></i></li>
              <li><cite></cite><a href="tools.html" target="rightFrame">常用工具</a><i></i></li>
              <li><cite></cite><a href="filelist.html" target="rightFrame">信息管理</a><i></i></li>
              <li><cite></cite><a href="tab.html" target="rightFrame">Tab页</a><i></i></li>
              <li><cite></cite><a href="error.html" target="rightFrame">404页面</a><i></i></li>
            </ul>
          </dd>-->
          <dd th:each="fmenu:${map.get(0)}">
            <div class="title">
              <img src="/images/leftico02.png" />[(${fmenu.pername})]
            </div>
            <ul class="menuson" >
              <li th:each="smenu:${map.get(fmenu.id)}"><cite></cite><a th:href="@{${smenu.url}}" th:text="${smenu.pername}" target="rightFrame"></a><i></i></li>
            </ul>
          </dd>
        </dl>

      </td>
      <td>
        <iframe src="/index.html" name="rightFrame" id="rightFrame" title="rightFrame" width="100%" height="600px" frameborder="0" ></iframe>
      </td>
    </tr>
  </table>
</body>
</html>
